package third;

import java.util.Random;

public class five_32 {
    public static void main(String[] args) {
        Random r = new Random();
        int n = r.nextInt(10);
        int m = r.nextInt(10);
        while(n==m){
            m= r.nextInt();

        }
        System.out.println(n+" "+m);


    }
}
